package com.ry.xingyunerp.mapper;

import com.ry.xingyunerp.entity.Log;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface LogMapper {


    int saveLog(Log log);

    List<Log> getLogByPage(int page, int limit);

    int getLogCounts();

    void delLog(int id);

    List<Log> getLogByParams(String username, String name, String module, int page, int limit);

    int getLogCountsByParams(String username, String name, String module);

}
